package hcn.protocol.brandnew.zhenliao.yaopin;

import lombok.Data;
import javax.xml.bind.annotation.*;
import java.util.List;
import hcn.protocol.brandnew.BaseRequest;


/**
 * 处方组套明细查询-响应消息(成功) - ODS_03040021_SUC
 *
 * @author enjoyLife
 */
@Data
@XmlRootElement(name = "Data")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetPrescriptionSetDetailResponse {

    /**
     * 组套明细
     */
    @XmlElementWrapper(name = "SetDetailLists")
    @XmlElement(name = "SetDetailList")
    private List<SetDetailList> setDetailLists;

    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class SetDetailList {

        /**
         * 就诊机构代码/开单机构代码
         */
        @XmlElement(name = "VisitOrganization")
        private String visitOrganization;
        /**
         * 药物代码
         */
        @XmlElement(name = "DrugsNumber")
        private String drugsNumber;
        /**
         * 药物名称
         */
        @XmlElement(name = "DrugName")
        private String drugName;
        /**
         * 药品编码
         */
        @XmlElement(name = "DrugCode")
        private String drugCode;
        /**
         * 药品组号
         */
        @XmlElement(name = "DrugsGroupNumber")
        private String drugsGroupNumber;
        /**
         * 药品顺序号
         */
        @XmlElement(name = "SortNumber")
        private String sortNumber;
        /**
         * 药品类型
         */
        @XmlElement(name = "DrugType")
        private Byte drugType;
        /**
         * 一次剂量
         */
        @XmlElement(name = "OnceDosage")
        private String onceDosage;
        /**
         * 剂量单位
         */
        @XmlElement(name = "DosageUnit")
        private String dosageUnit;
        /**
         * 药品-药房单位
         */
        @XmlElement(name = "DrugstoreUnit")
        private String drugstoreUnit;
        /**
         * 药品-药品产地
         */
        @XmlElement(name = "DrugProductionPlace")
        private String drugProductionPlace;
        /**
         * 药物规格
         */
        @XmlElement(name = "DrugSpecifications")
        private String drugSpecifications;
        /**
         * 药物用法代码
         */
        @XmlElement(name = "DrugUsePathwaysCode")
        private String drugUsePathwaysCode;
        /**
         * 药品用法名称
         */
        @XmlElement(name = "DrugUsePathwaysName")
        private String drugUsePathwaysName;
        /**
         * 用药天数
         */
        @XmlElement(name = "MedicineDays")
        private Long medicineDays;
        /**
         * 药品-使用频次代码
         */
        @XmlElement(name = "DrugUsingRate")
        private String drugUsingRate;
        /**
         * 使用频次名称
         */
        @XmlElement(name = "DrugUsingRateName")
        private String drugUsingRateName;
        /**
         * 草药煎法代码
         */
        @XmlElement(name = "HerbalMedicineDecoction")
        private Integer herbalMedicineDecoction;
        /**
         * 草药煎法名称
         */
        @XmlElement(name = "HerbalMedicineDecoctionName")
        private String herbalMedicineDecoctionName;
        /**
         * 草药脚注
         */
        @XmlElement(name = "HerbalFootNote")
        private String herbalFootNote;
        /**
         * 脚注名称
         */
        @XmlElement(name = "HerbalFootNoteName")
        private String herbalFootNoteName;
    }

}
